package com.avengers.core.bean.enums;

/**
 * @author yu.wang
 * @since 2020-07-15 15:39
 **/
public enum AccountStatus {
    /**
     * 锁定账号，无法做任何事情
     */
    locked(-1, "已锁定"),
    /**
     * 注册、未激活
     */
    inactive(0, "未激活"),
    normal(1, "正常");

    public final Integer value;
    public final String comment;

    AccountStatus(Integer value, String comment) {
        this.value = value;
        this.comment = comment;
    }
}
